#pragma once

#include "cocos2d.h"
#include "object.h"
#include "object.h"
using namespace cocos2d;

enum {
	eSMALL_FISH,
	eBig_FISH,
	eMAX_FISH,
};



class Fish:public CObject
{
public:
	Fish();
	virtual ~Fish();

	virtual bool Init(const int & id,const int &type,CCLayer* pLayer);

	virtual bool Create();

	virtual void Update(const ccTime& dt);
	
	virtual void SetTargetPos();

	const bool&   IsHit();
protected:
	CCFiniteTimeAction*	m_ActionFlip;

};